package com.lyy.service;

import com.github.pagehelper.PageInfo;
import com.lyy.entity.Episode;

import java.util.List;

/**
 * @author Liangyaoyun
 */

public interface EpisodeService {
    int insertByEpisodeId(Episode episode);
    int updateByEpisodeId(Episode  episode);
    int deleteByEpisodeId(Integer  episodeId);
    int deleteByEpisodeIds(List<Integer> episodeId);
    Episode selectByEpisodeId(Integer  episodeId);
    List<Episode>selectAllEpisode();
    PageInfo<Episode> selectBypage(Integer pageNumber, Integer pageSize);
}
